﻿using Sustainalytics.ClientDW.Entities;
using System;

namespace Sustainalytics.GCCS.Service
{
    public class GCPrincipleEventIndicatorDto
    {
        public Guid Id { get; set; }
        public GCAssessment EventIndicatorAssessment { get; set; }
        public string EventSummary { get; set; }
        public string IssueType { get; set; }
        public Guid PrincipleSummaryId { get; set; }


        public virtual GCPrincipleEventIndicatorDto LoadFrom(GCPrincipleEventIndicator data)
        {
            this.Id = data.Id;
            this.EventIndicatorAssessment = data.EventIndicatorAssessment;
            this.EventSummary = data.EventSummary;
            this.IssueType = data.IssueType;
            this.PrincipleSummaryId = data.PrincipleSummaryId;

            return this;
        }
    }
}
